export const STAY = 'stay';
export const TRAIL = 'trail';

export const base_url = process.env.NODE_ENV === 'development' ? 'http://192.168.31.119:8021/api/v1/' : '/api/v1/';
export const base_url1 = process.env.NODE_ENV === 'development' ? 'http://192.168.31.119:8021/api/v1/' : '/';

// export const base_url = process.env.NODE_ENV === 'development' ? 'http://192.168.31.249:8008/api/v1/' : '/api/v1/';
// export const base_url1 = process.env.NODE_ENV === 'development' ? 'http://192.168.31.249:8008/api/v1/' : '/';


/**
 * a3  https   89:443
 * chao        119:8021
 */

export const OFFLINE = 0;
export const ONLINE = 1;
export const RUNNING = 2;

export const ALL_DEVICE = '-1';
const AD_QI = '1';
const YI_QI = '2';
const ER_QI = '3';


export const typeMap = {[AD_QI]:  '安卓',[YI_QI]:  'tracker1期', [ER_QI]: 'tracker2期'};

export const defaultDeviceListFilter = Object.keys(typeMap);
